package com.app.newcsc.entity;

import java.io.Serializable;
import java.util.List;

/**
 * @author: woking
 * @date: 2021/6/19
 * @description：
 */
public class TransactionPlanEntity implements Serializable
{
    //***********挂单***************
//    "id": 1983102,
//    "coin_id": 4,
//    "price": "13.00000",
//    "num": "100.0000",
//    "status": 0,
//    "createtime": "2021-03-26 14:43",
//    "coin_name": "CSC",
//    "hide_nickname": "153****2776",
//    "pay_types": [
//    "2",
//    "3",
//    "1"
//    ],
//    "type": 2

    public long id;
    public int coin_id;
    public String price;
    public String num;
    public int status;
    public String createtime;
    public String coin_name;
    public String hide_nickname;
    public List<String> pay_types;
//    public String pay_types;
    public int type;

    public int order_status_no_pay;//如果是1   就不显示

    public String free_ratio;//手续费
    public boolean isOrder;//true 订单； false: 挂单

    public Orders orders;
    public static class Orders implements Serializable
    {
        public List<OrdersData> data;
    }

    public static class OrdersData implements Serializable
    {
        public long id;//": 229555,
        public long plan_id;//": 1983102,
        public int status;//": 0,
        public int type;//": 1,
        public long user_id;//": 1919349,
        public String user_name;//": "",
        public String user_real_name;//": "吕迅",
        public long trans_uid;//": 1432978,
        public String trans_user_name;//": "",
        public String trans_real_name;//": "李大",
        public String free_ratio;//": "1.00",
        public String num;//": "100.000000",
        public String fee;//": "1.000000",
        public String all_num;//": "101.000000",
        public String price;//": "13.0000",
        public String amount;//": "1300.000000",
        public String pay_id;//": "",
        public int pay_type;//": 0,
        public String pay_card;//": "",
        public String pay_name;//": "",
        public String img_url;//": "",
        public int confirmtime;//": 0,
        public int successtime;//": 0,
        public int coin_id;//": 4,
        public int is_appeal;//": 0,
        public int updatetime;//": 0,
        public String createtime;//": 1624324717,
        public String identifier;//": "2021062280417",
        public int status1;//": 0,
        public String note;//": "",
        public long buyer_id;//": 1919349,
        public long seller_id;//": 1432978
    }

    //***********订单***************

//    "id": 229555,
//    "plan_id": 1983102,
//    "status": 0,
//    "type": 1,
//    "user_id": 1919349,
//    "user_name": "",
//    "user_real_name": "吕迅",
//    "trans_uid": 1432978,
//    "trans_user_name": "",
//    "trans_real_name": "李大",
//    "free_ratio": "1.00",
//    "num": "100.000000",
//    "fee": "1.000000",
//    "all_num": "101.000000",
//    "price": "13.0000",
//    "amount": "1300.000000",
//    "pay_id": "",
//    "pay_type": 0,
//    "pay_card": "",
//    "pay_name": "",
//    "img_url": "",
//    "confirmtime": 0,
//    "successtime": 0,
//    "coin_id": 4,
//    "is_appeal": 0,
//    "updatetime": 0,
//    "createtime": 1624324717,
//    "identifier": "2021062280417",
//    "status1": 0,
//    "note": "",
//    "buyer_id": 1919349,
//    "seller_id": 1432978

//    public long id;//": 229555,
    public long plan_id;//": 1983102,
//    public int status;//": 0,
//    public int type;//": 1,
    public long user_id;//": 1919349,
    public String user_name;//": "",
    public String user_real_name;//": "吕迅",
    public long trans_uid;//": 1432978,
    public String trans_user_name;//": "",
    public String trans_real_name;//": "李大",
//    public String free_ratio;//": "1.00",
//    public String num;//": "100.000000",
    public String fee;//": "1.000000",
    public String all_num;//": "101.000000",
//    public String price;//": "13.0000",
    public String amount;//": "1300.000000",
    public String pay_id;//": "",
    public int pay_type;//": 0,
    public String pay_card;//": "",
    public String pay_name;//": "",
    public String img_url;//": "",
    public int confirmtime;//": 0,
    public int successtime;//": 0,
//    public int coin_id;//": 4,
    public int is_appeal;//": 0,
    public int updatetime;//": 0,
//    public long createtime;//": 1624324717,
    public String identifier;//": "2021062280417",
    public int status1;//": 0,
    public String note;//": "",
    public long buyer_id;//": 1919349,
    public long seller_id;//": 1432978
}
